﻿
namespace HangYi_Coffee_Class

{    
      /// <summary>
      /// 订单详细表
      /// </summary>
      /// <returns></returns>
    public class Detail
    {
        /// <summary>
        /// 编号id
        /// </summary>
        /// <returns></returns>
        public int Id { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        /// <returns></returns>
        public string? Name { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        /// <returns></returns>
        public double? Price { get; set; }
         /// <summary>
        /// 商品个数
        /// </summary>
        /// <returns></returns>    
        public int? sum{ get; set; }
        /// <summary>
        /// 商品图片路径
        /// </summary>
        /// <returns></returns>
        public string? ImageUrl { get; set; }
        /// <summary>
        /// 商品甜度
        /// </summary>
        /// <returns></returns>
        public string? Sugar { get; set; }
        /// <summary>
        /// 商品温度
        /// </summary>
        /// <returns></returns>
        public string? Temperature { get; set; }
        /// <summary>
        /// 商品杯型
        /// </summary>
        /// <returns></returns>
        public string? Cup_type { get; set; }
        /// <summary>
        /// 商品冰块选择
        /// </summary>
        /// <returns></returns>
      

        /// <summary>
        /// 所属订单表
        /// </summary>
        /// <returns></returns>
        public Order Order { get; set; }
    }
}